import MenuService from '../service/menu-service';
import * as Koa from 'koa';

class MenuController {
  private service: MenuService = new MenuService();

  getOneLevelMenusList = async (ctx: Koa.Context) => {
    await this.service.getOneLevelMenusList(ctx);
  };
  getMenus = async (ctx: Koa.Context) => {
    await this.service.getMenus(ctx);
  };
}

export default new MenuController();
